package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中药登记场所详请对象 medicine_place
 * 
 * @author yanhe
 * @date 2025-04-16
 */
public class MedicinePlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Integer id;

    /** 登记号 */
    @Excel(name = "登记号")
    private String registerCode;

    /** 场所 */
    @Excel(name = "场所")
    private String place;

    /** 防治对象 */
    @Excel(name = "防治对象")
    private String controlTargets;

    /** 用药量 */
    @Excel(name = "用药量")
    private String useDetail;

    /** 施药方式 */
    @Excel(name = "施药方式")
    private String useWay;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setRegisterCode(String registerCode) 
    {
        this.registerCode = registerCode;
    }

    public String getRegisterCode() 
    {
        return registerCode;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setControlTargets(String controlTargets) 
    {
        this.controlTargets = controlTargets;
    }

    public String getControlTargets() 
    {
        return controlTargets;
    }
    public void setUseDetail(String useDetail) 
    {
        this.useDetail = useDetail;
    }

    public String getUseDetail() 
    {
        return useDetail;
    }
    public void setUseWay(String useWay) 
    {
        this.useWay = useWay;
    }

    public String getUseWay() 
    {
        return useWay;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("registerCode", getRegisterCode())
            .append("place", getPlace())
            .append("controlTargets", getControlTargets())
            .append("useDetail", getUseDetail())
            .append("useWay", getUseWay())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
